<template>
  <div class="container">
    <div class="headImg">
      <img src="../assets/1.png" />
    </div>
    <div class="text">Hello , 七月</div>
    <div class="btn">
      <button @click="clickMe">开启小程序之旅</button>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src

export default {
  name: "Home",
  data() {
    return {};
  },
  methods:{
    clickMe(){
      this.$router.push('/music/index')
    }
  }
};
</script>

<style scoped>
.container {
  height: 100vh;
  background-color: #b3d4db;
}
.headImg {
  height: 500px;
  position: relative;
}
.headImg > img {
  width: 220px;
  height: 220px;
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
}
.text {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
}
.btn {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn button {
  height: 90px;
  width: 300px;
  border-radius: 10px;
  font-size: 24px;
  color: #64839c;
  line-height: 50px;
  border: 2px solid #64839c;
  background-color: initial;
}
</style>